package com.ctgu.examonline.entity;

public class Teacher {

    private Integer tea_no;
    private String tea_name;
    private String tea_pwd;
    private Integer maj_no;
    private String tea_mail;

    public Teacher(Integer tea_no, String tea_name, String tea_pwd, Integer maj_no, String tea_mail) {
        this.tea_no = tea_no;
        this.tea_name = tea_name;
        this.tea_pwd = tea_pwd;
        this.maj_no = maj_no;
        this.tea_mail = tea_mail;
    }

    public Teacher(String tea_name, String tea_pwd, Integer maj_no, String tea_mail) {
        this.tea_name = tea_name;
        this.tea_pwd = tea_pwd;
        this.maj_no = maj_no;
        this.tea_mail = tea_mail;
    }

    public Teacher() {}

    public Integer getTea_no() {
        return tea_no;
    }

    public void setTea_no(Integer tea_no) {
        this.tea_no = tea_no;
    }

    public String getTea_name() {
        return tea_name;
    }

    public void setTea_name(String tea_name) {
        this.tea_name = tea_name;
    }

    public String getTea_pwd() {
        return tea_pwd;
    }

    public void setTea_pwd(String tea_pwd) {
        this.tea_pwd = tea_pwd;
    }

    public Integer getMaj_no() {
        return maj_no;
    }

    public void setMaj_no(Integer maj_no) {
        this.maj_no = maj_no;
    }

    public String getTea_mail() {
        return tea_mail;
    }

    public void setTea_mail(String tea_mail) {
        this.tea_mail = tea_mail;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tea_no=" + tea_no +
                ", tea_name='" + tea_name + '\'' +
                ", tea_pwd='" + tea_pwd + '\'' +
                ", maj_no='" + maj_no + '\'' +
                ", tea_mail='" + tea_mail + '\'' +
                '}';
    }
}
